package com.ce.pms.charge.dao;

import java.util.List;


import com.ce.pms.base.dao.IPmsBaseDao;
import com.ce.pms.charge.model.PeriodLogDomain;
import com.ce.pms.charge.vo.MonthlyStatementSearchVO;
import com.sitechasia.webx.core.support.Page;

public interface IPeriodLogDao extends IPmsBaseDao<PeriodLogDomain> {

	/**
	 * 功能描述:根据收费周期及流程ID查询日志信息  <br>
	 * @param periodId 收费周期ID
	 * @param flowDefId  流程ID
	 * @return
	 * Create author:黄彦军 <br>
	 * Create on:2008-8-27  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public List<PeriodLogDomain> findLogByPeriodAndFlowDef(Long periodID,Integer flowDefID);

	/**
	 * 功能描述: 根据条件分页查询已月结信息<br>
	 * @return
	 * Create author:黄彦军 <br>
	 * Create on:2008-8-26  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public Page queryCurPageMonthlyStatement(MonthlyStatementSearchVO searchVO);

	/**
	 * 功能描述:检查是否有已经做过应收计算的流程,只要有一个都返回ture。<br>
	 * 如果buildId不为null，则检查该楼栋所在的收费周期是否做过应收计算<br>
	 * @param buildingId
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-9-26<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public boolean checkPeriodHasArcaculate(Long buildingId);
}
